package com.zx.account.service;

import com.zx.account.entity.AType;
import com.zx.account.entity.ATypeDetail;
import com.zx.account.model.ATypeDetailDto;
import com.zx.account.model.ATypeDto;
import java.util.List;


public interface ATypeService {

    AType getById(int id);

    List<AType> getAll();

    boolean insert(AType t);

    boolean update(AType t);

    boolean insert(ATypeDetail t);

    List<ATypeDto> getByUserId(int userId);

    List<ATypeDetailDto> getDetailByUserId(int userId);
}
